package learn.euraka.server;


import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

// @SpringCloudApplication

@SpringBootApplication
@EnableEurekaServer
public class EurekaServerApp {


    public static void main(String[] args) {

        // SpringApplication.run(Application.class, args);

        new SpringApplicationBuilder(EurekaServerApp.class).web(true).run(args);
    }


}